package com.xbongbong.sso.model;

import com.xbongbong.sso.domain.entity.OauthCustomParamEntity;

import java.util.List;
import java.util.Map;


/**
 * @author bomfish
 */
public interface OauthCustomParamModel {
   Long insert(OauthCustomParamEntity entity);

   void insertBatch(List<OauthCustomParamEntity> list);

   List<OauthCustomParamEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(OauthCustomParamEntity entity);

   OauthCustomParamEntity getByKey(Long key, String corpid);

   Long delete(Long key, String corpid);
}
